package ichan

import (
	"pro-downloader/app/model"
)
var (
	taskChan chan *model.DownLoadInfo
)
func GetDownloadInfoChan() chan *model.DownLoadInfo {
	if taskChan == nil {
		taskChan = make(chan *model.DownLoadInfo)
	}
	//fmt.Printf("获取到一个chan:%v",taskChan)
	return taskChan
}